<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


<HTML>
<HEAD>
<TITLE>Login</TITLE>
</HEAD>
<BODY>
<CENTER>
<%

	if ("false".equals(session.getAttribute("loggedIn"))
			&& (request.getParameter("userName") != null || request.getParameter("password") != null))
	{
		out.println("Login incorrecto. Por favor, int&eacute;ntelo nuevamente<BR>");
	}
	session.invalidate();
	
%> <BR>
<BR>
<H2>Ingreso al Home Banking</H2>
<BR>
<BR>
Por favor, ingrese su Usuario y Password<BR>
<BR>
<FORM METHOD=POST action=login>
<TABLE>

	<TR>
		<TD>Usuario:</TD>
		<TD><INPUT TYPE=TEXT NAME=userName></TD>
	</TR>
	<TR>
		<TD>Password:</TD>
		<TD><INPUT TYPE=PASSWORD NAME=password></TD>
	</TR>
	<TR>
		<TD ALIGN=RIGHT COLSPAN=2><INPUT TYPE=SUBMIT VALUE=Ingresar></TD>
	</TR>
</TABLE>
</FORM>
</CENTER>
</BODY>
</HTML>